//
//  NYChoseBookMoudle.m
//  NiuWaJiaoYu
//
//  Created by MinLison on 2017/12/4.
//  Copyright © 2017年 niuwaketang. All rights reserved.
//

#import "NYChoseBookMoudle.h"
#import "NYChoseBookViewController.h"
#import "MainServiceProtocol.h"
@implementation NYChoseBookMoudle
- (void)modSetUp:(BHContext *)context
{
        id <MainServiceProtocol> mainService = [[BeeHive shareInstance] createService:@protocol(MainServiceProtocol)];
        NYChoseBookViewController *vc = [[NYChoseBookViewController alloc] init];
        vc.hidesBottomBarWhenPushed = NO;
        vc.tabBarItem.selectedImage = [UIImage xuan_ke_gao_liangRenderingMode:(UIImageRenderingModeAlwaysOriginal)];
        vc.tabBarItem.image = [UIImage xuan_ke_chang_taiRenderingMode:(UIImageRenderingModeAlwaysOriginal)];
        vc.title = [NSString app_ChoseBook];
        BaseNavigationViewController *navController = [[BaseNavigationViewController alloc] initWithRootViewController:vc];
        [mainService addTabBarController:navController atIndex:NYTabControllerIndexChoseBook];
}
@end
